package com.cjx.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.ComponentScan;

/**
 *@Description gateway启动类
 *@Verson v1.0.0
 *@Author cjunxian
 *@Date
 */
@ComponentScan(basePackages = {"com.cjx"})
@EnableDiscoveryClient
@RefreshScope
@SpringBootApplication
public class GatewayServiceBootstrap {
    public static void main(String[] args) {
        SpringApplication.run(GatewayServiceBootstrap.class,args);
    }
}
